package com.csun.cmny.provider.service.impl;

import com.csun.cmny.core.support.BaseService;
import com.csun.cmny.provider.dao.OmcVideoLongRangeServiceMapper;
import com.csun.cmny.provider.model.domain.OmcVideoLongRangeService;
import com.csun.cmny.provider.service.OmcVideoLongRangeServiceService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@Service
@Transactional
public class OmcVideoLongRangeServiceServiceImpl extends BaseService<OmcVideoLongRangeService> implements OmcVideoLongRangeServiceService {
    @Resource
    private OmcVideoLongRangeServiceMapper videoLongRangeServiceMapper;

    @Override
    public List<OmcVideoLongRangeService> selectVideoByOrderId(Long id) {
        return videoLongRangeServiceMapper.selectVideoByOrderId(id);
    }
}
